package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallOrder;
import org.linlinjava.litemall.db.domain.LitemallOrderGoodsProperty;
import org.linlinjava.litemall.db.domain.LitemallOrderGoodsPropertyExample;

public interface LitemallOrderGoodsPropertyMapper extends MPJBaseMapper<LitemallOrderGoodsProperty> {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    long countByExample(LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int deleteByExample(LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int insert(LitemallOrderGoodsProperty record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int insertSelective(LitemallOrderGoodsProperty record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    LitemallOrderGoodsProperty selectOneByExample(LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    LitemallOrderGoodsProperty selectOneByExampleSelective(@Param("example") LitemallOrderGoodsPropertyExample example, @Param("selective") LitemallOrderGoodsProperty.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    List<LitemallOrderGoodsProperty> selectByExampleSelective(@Param("example") LitemallOrderGoodsPropertyExample example, @Param("selective") LitemallOrderGoodsProperty.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    List<LitemallOrderGoodsProperty> selectByExample(LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    LitemallOrderGoodsProperty selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrderGoodsProperty.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    LitemallOrderGoodsProperty selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    LitemallOrderGoodsProperty selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") LitemallOrderGoodsProperty record, @Param("example") LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") LitemallOrderGoodsProperty record, @Param("example") LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(LitemallOrderGoodsProperty record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(LitemallOrderGoodsProperty record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int logicalDeleteByExample(@Param("example") LitemallOrderGoodsPropertyExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_order_goods_property
     *
     * @mbg.generated
     */
    int logicalDeleteByPrimaryKey(Integer id);
}